<template>
  <div class="footer">
    <div class="left-section">
      <span>产品版本：{{ version }}</span>
      <span style="margin-left: 175px">检查更新</span>
    </div>
    <div class="right-section">
      <span>问题反馈</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "Footer",
  props: {
    version: String, // 传入版本信息
  },
};
</script>

<style scoped>
.footer {
  color: black;
  width: 100%; /* 底边栏宽度与窗口宽度一致 */
  height: 100%;
  background: rgba(242, 242, 243, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left-section {
  display: flex;
  align-items: center;
  margin-left: 18px;
}

.right-section {
  margin-right: 18px;
}
</style>
